package com.platform.module.common.base;

public enum CodeDict {
    SUCCESS(CodeEnum.SUCCESS.getCode(), CodeEnum.SUCCESS.getMsg()),
    FAILED(CodeEnum.FAILED.getCode(), CodeEnum.FAILED.getMsg()),
    未登录(CodeEnum.未登录.getCode(), CodeEnum.未登录.getMsg()),
    请求头错误(CodeEnum.请求头错误.getCode(), CodeEnum.请求头错误.getMsg()),
    密码错误(CodeEnum.密码错误.getCode(), CodeEnum.密码错误.getMsg()),
    密码达到最大错误次数(CodeEnum.密码达到最大错误次数.getCode(), CodeEnum.密码达到最大错误次数.getMsg()),
    余额不足(CodeEnum.余额不足.getCode(), CodeEnum.余额不足.getMsg());

    private String code;
    private String msg;

    CodeDict(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return this.code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
